//
//  BRMInfoModel.h
//  BrezzeSaaS
//
//  Created by IOS on 2022/3/22.
//  Copyright © 2022 Brezze GWG. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class BRBranchAccountModel;
@interface BRMInfoRequestModel : NSObject

/// 地址
@property (nonatomic,strong) NSString *address;
/// 地址信息(地图搜索的地址)
@property (nonatomic,strong) NSString *addressMap;
/// 网点名称
@property (nonatomic,strong) NSString *branchName;
/// 门面图片地址
@property (nonatomic,strong) NSString *images;
/// 座机电话
//@property (nonatomic,strong) NSString *landlinePhone;
/// logo
@property (nonatomic,strong) NSString *logo;
/// 营业时间(json)
@property (nonatomic,strong) NSString *openTime;
/// 国家码
@property (nonatomic,assign) NSInteger code;
@property (nonatomic,strong) NSString *phone;
/// 纬度
@property (nonatomic,assign) CGFloat lat;
/// 经度
@property (nonatomic,assign) CGFloat lng;
/// 分成比例0-100
@property (nonatomic,assign) NSInteger ratio;

///industryId    行业id    integer(int32)
@property (nonatomic,strong) NSString *industryId;

/// 代理id
@property (nonatomic,strong) NSString *agentId;

/// 计费规则Id
@property (nonatomic,assign) NSInteger billingId;

/// 负责人名称
@property (nonatomic,strong) NSString *principal;

@end

@interface BRMInfoModel : NSObject

/// 地址
@property (nonatomic,strong) NSString *address;
/// 地址信息(地图搜索的地址)
@property (nonatomic,strong) NSString *addressMap;
/// 地区地址
@property (nonatomic,strong) NSString *areaAddress;
/// 网点编号
@property (nonatomic,strong) NSString *branchCode;
/// 网点名称
@property (nonatomic,strong) NSString *branchName;
/// 创建时间
@property (nonatomic,strong) NSString *createTime;
/// 门面图片地址
@property (nonatomic,strong) NSString *images;
/// 座机电话
@property (nonatomic,strong) NSString *landlinePhone;
/// logo
@property (nonatomic,strong) NSString *logo;
/// 营业时间(json)
@property (nonatomic,strong) NSString *openTime;
/// 当天营业时间
@property (nonatomic,strong) NSString *operationHours;
/// 手机号码
@property (nonatomic,strong) NSString *phone;
/// 业务员名称
@property (nonatomic,strong) NSString *salesman;
/// 网点所在时区
@property (nonatomic,strong) NSString *timeZoneId;

/// 累计为我创收金额
@property (nonatomic,strong) NSDecimalNumber *totalUserAmount;
/// 月收入
@property (nonatomic,strong) NSDecimalNumber *monthAmount;
/// 日收入
@property (nonatomic,strong) NSDecimalNumber *dayAmount;
/// 收益
@property (nonatomic,strong) NSDecimalNumber *amount;

/// 计费规则Id
@property (nonatomic,assign) NSInteger billingId;
/// 在线机柜数量
@property (nonatomic,assign) NSInteger cabOnlineNum;
/// 国家码
@property (nonatomic,assign) NSInteger code;
/// 主ID
@property (nonatomic,assign) NSInteger infoId;
/// 是否营业 true：营业&&机柜在线 false:不营业/机柜不在线
@property (nonatomic,assign) BOOL isBusiness;
/// 纬度
@property (nonatomic,assign) CGFloat lat;
/// 经度
@property (nonatomic,assign) CGFloat lng;
/// 离线机柜数量
@property (nonatomic,assign) NSInteger offLineNum;
/// 分成比例0-100
@property (nonatomic,assign) NSInteger ratio;
/// 网点状态：0-待激活 1-正常 2-停止合作
@property (nonatomic,assign) NSInteger state;
/// 总机柜数量
@property (nonatomic,assign) NSInteger totalNum;

///industryId    行业id    integer(int32)
@property (nonatomic,strong) NSString *industryId;
///industryName    行业名称    InterDTO
@property (nonatomic,strong) BRLanguageKeyModel *industryName;
///descriptionDic    行业描述    InterDTO
@property (nonatomic,strong) BRLanguageKeyModel *descriptionDic;
/// 代理id
@property (nonatomic,strong) NSString *agentId;
/// 代理id
@property (nonatomic,strong) NSString *agentName;
/// 计费规则名称
@property (nonatomic,strong) NSString *billingTitle;

/// 负责人名称
@property (nonatomic,strong) NSString *principal;

@property (nonatomic,strong) BRBranchAccountModel *branchAccount;

@end

@interface BRBranchAccountModel : BRBaseModel

//code = 86;
@property (nonatomic,strong) NSString *code;
//email = "5555555555555555555555555999000099099000@qq.com";
@property (nonatomic,strong) NSString *email;
//id = 821;
//phone = 13361661234;
@property (nonatomic,strong) NSString *phone;

@end


NS_ASSUME_NONNULL_END
